<?xml version="1.0" encoding="utf-8"?>
 
<feed xmlns="http://www.w3.org/2005/Atom">
 
        <title><?php echo $ATOM_title?></title>
        <subtitle><?php echo $ATOM_subtitle?></subtitle>
        <link href="<?php echo $ATOM_feedUrl?>" rel="self" />
        <link href="<?php echo $ATOM_url?>" />
        <id><?php echo $ATOM_urnUuid?></id>
        <updated><?php echo ($ATOM_updated)? $ATOM_updated : date('c') ?></updated>
        <author>
                <name><?php echo $ATOM_urnUuid?></name>
                <email><?php echo $ATOM_urnUuid?></email>
        </author>
<?php foreach($entries as $entry) { ?> 
        <entry>
                <title><?php echo $entry['title']?></title>
                <link href="<?php echo $entry['link']?>" />
                <link rel="alternate" type="text/html" href="<?php echo ($entry['linkAlternate'])? $entry['linkAlternate'] : $entry['link']?>"/>
                <link rel="edit" href="<?php echo ($entry['linkEdit'])? $entry['linkEdit'] : $entry['link']?>"/>
                <id><?php echo $entry['urnUuid']?></id>
                <updated><?php echo ($entry['updated'])? $entry['updated'] : date('c') ?></updated>
                <summary><?php echo $entry['summary'] ?></summary>
        </entry>
<?php } ?> 
</feed>